package com.jsh.erp.feign.system;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "jsh-system", path = "/jshERP-boot/remote/api/orgaUserRel", contextId = "OrgaUserRelRemoteClient")
public interface OrgaUserRelRemoteClient {
    // 根据用户id获取用户id列表
    @GetMapping("/getUserIdListByUserId")
    String getUserIdListByUserId(@RequestParam("userId") Long userId) throws Exception;
}
